HEADERS += \
    DevicePro/TargetBL_Config.h \
    DevicePro/TargetBL_Interface.h \
    DevicePro/common.h \
    DevicePro/crc.h \
    DevicePro/device_usart.h \
    DevicePro/flash_if.h \
    DevicePro/freq_table.h \
    DevicePro/infoblock.h \
    DevicePro/menu.h \
    DevicePro/modbus.h \
    DevicePro/speed_cntr.h \
    DevicePro/user_config.h \
    DevicePro/user_device.h \
    DevicePro/user_global.h \
    DevicePro/ymodem.h \
    Drivers/CMSIS/GD/GD32F30x/Include/gd32f30x.h \
    Drivers/CMSIS/GD/GD32F30x/Include/system_gd32f30x.h \
    Drivers/CMSIS/GD/GD32F4xx/Include/gd32f4xx.h \
    Drivers/CMSIS/GD/GD32F4xx/Include/system_gd32f4xx.h \
    Drivers/CMSIS/Include/arm_common_tables.h \
    Drivers/CMSIS/Include/arm_const_structs.h \
    Drivers/CMSIS/Include/arm_math.h \
    Drivers/CMSIS/Include/cmsis_armcc.h \
    Drivers/CMSIS/Include/cmsis_armcc_V6.h \
    Drivers/CMSIS/Include/cmsis_gcc.h \
    Drivers/CMSIS/Include/core_cm0.h \
    Drivers/CMSIS/Include/core_cm0plus.h \
    Drivers/CMSIS/Include/core_cm3.h \
    Drivers/CMSIS/Include/core_cm4.h \
    Drivers/CMSIS/Include/core_cm7.h \
    Drivers/CMSIS/Include/core_cmFunc.h \
    Drivers/CMSIS/Include/core_cmInstr.h \
    Drivers/CMSIS/Include/core_cmSimd.h \
    Drivers/CMSIS/Include/core_sc000.h \
    Drivers/CMSIS/Include/core_sc300.h \
    Drivers/CMSIS/core_cm4.h \
    Drivers/CMSIS/core_cm4_simd.h \
    Drivers/CMSIS/core_cmFunc.h \
    Drivers/CMSIS/core_cmInstr.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_adc.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_bkp.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_can.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_crc.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_ctc.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_dac.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_dbg.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_dma.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_enet.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_exmc.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_exti.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_fmc.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_fwdgt.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_gpio.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_i2c.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_misc.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_pmu.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_rcu.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_rtc.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_sdio.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_spi.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_timer.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_usart.h \
    Drivers/GD32F30x_standard_peripheral/Include/gd32f30x_wwdgt.h \
    Inc/crc.h \
    Inc/gd32f30x_hal_def.h \
    Inc/gd32f30x_it.h \
    Inc/gd32f30x_libopt.h \
    Inc/gpio.h \
    Inc/iwdg.h \
    Inc/main.h \
    Inc/stm32f4xx_hal_conf.h \
    Inc/stm32f4xx_it.h \
    Inc/systick.h \
    Inc/tim.h \
    Inc/usart.h \
    Inc/wwdg.h \
    MDK-ARM/RTE/_bootloader/RTE_Components.h \
    Src/gd32f4xx_it.h \
    Src/gd32f4xx_libopt.h \
    Src/main.h \
    Src/nvic.h \
    Src/systick.h

SOURCES += \
    DevicePro/CRC.c \
    DevicePro/TargetBL_Commands.c \
    DevicePro/TargetBL_DevSpecific.c \
    DevicePro/TargetBL_InfoBlock.c \
    DevicePro/TargetBL_Main.c \
    DevicePro/common.c \
    DevicePro/device.c \
    DevicePro/device_isp.c \
    DevicePro/device_proc.c \
    DevicePro/device_temp.c \
    DevicePro/device_usart.c \
    DevicePro/flash_if.c \
    DevicePro/freq_table.c \
    DevicePro/infoblock.c \
    DevicePro/menu.c \
    DevicePro/modbus.c \
    DevicePro/modbus_bit.c \
    DevicePro/modbus_diag.c \
    DevicePro/modbus_file.c \
    DevicePro/modbus_interface.c \
    DevicePro/modbus_vars.c \
    DevicePro/modbus_word.c \
    DevicePro/speed_cntr.c \
    DevicePro/ymodem.c \
    Drivers/CMSIS/GD/GD32F30x/Source/system_gd32f30x.c \
    Drivers/CMSIS/GD/GD32F4xx/Source/system_gd32f4xx.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_adc.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_bkp.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_can.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_crc.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_ctc.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_dac.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_dbg.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_dma.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_enet.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_exmc.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_exti.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_fmc.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_fwdgt.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_gpio.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_i2c.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_misc.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_pmu.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_rcu.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_rtc.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_sdio.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_spi.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_timer.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_usart.c \
    Drivers/GD32F30x_standard_peripheral/Source/gd32f30x_wwdgt.c \
    Src/crc.c \
    Src/gd32f30x_it.c \
    Src/gd32f4xx_it.c \
    Src/gpio.c \
    Src/infoblock.c \
    Src/iwdg.c \
    Src/main.c \
    Src/nvic.c \
    Src/stm32f4xx_hal_msp.c \
    Src/stm32f4xx_it.c \
    Src/system_stm32f4xx.c \
    Src/systick.c \
    Src/tim.c \
    Src/usart.c \
    Src/wwdg.c

INCLUDEPATH += ./Inc \
                Drivers/CMSIS/GD/GD32F30x/Include/ \
                Drivers/CMSIS/Include/ \
                Drivers/GD32F30x_standard_peripheral/Include/ \
                Drivers/GD32F30x_standard_peripheral/Source/ \
                Drivers/CMSIS/GD/GD32F30x/Source/ \
                C:\Keil_v5\ARM\ARMCC\include/ \
                DevicePro/ \

DISTFILES += \
    DevicePro/.gitignore \
    DevicePro/freq.pl \
    Drivers/CMSIS/GD/GD32F30x/Source/ARM/startup_gd32f30x_cl.s \
    Drivers/CMSIS/GD/GD32F30x/Source/ARM/startup_gd32f30x_hd.s \
    Drivers/CMSIS/GD/GD32F30x/Source/ARM/startup_gd32f30x_xd.s \
    Drivers/CMSIS/GD/GD32F30x/Source/IAR/startup_gd32f30x_cl.s \
    Drivers/CMSIS/GD/GD32F30x/Source/IAR/startup_gd32f30x_hd.s \
    Drivers/CMSIS/GD/GD32F30x/Source/IAR/startup_gd32f30x_xd.s \
    Src/freq.pl \
    Src/readme.txt

DEFINES += __packed= USE_HAL_DRIVER= GD32F30X_HD= __IO

OTHER_FILES += \
    Src/freq.pl
